package com.ml.mall.bean.req.variant;

import com.ml.mall.bean.req.product.vo.ProductPicNewVO;
import com.ml.mall.bean.req.variant.vo.VariantNewSkuDataVO;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Created by kyyang on 2021/5/17 22:22
 */
@Data
public class VariantSalesNewReq {

    @NotNull(message = "variantId is not null!")
    private Long variantId;

    @NotBlank(message = "salesName is not null!")
    private String salesName;

    @NotNull(message = "price is not null!")
    private BigDecimal price;

    @NotNull(message = "beginTime is not null!")
    private Date beginTime;

    @NotNull(message = "endTime is not null!")
    private Date endTime;


}
